package com.itheima.线程安全.卖票;

public class Demo {
    public static void main(String[] args) {
        Ticket ticket = new Ticket();

        new Thread(ticket,"窗口一").start();
        new Thread(ticket,"窗口二").start();
        new Thread(ticket,"窗口三").start();



    }
}
